package com.clkj.xiuzheng.service.shangcheng;

import com.clkj.xiuzheng.pojo.shangcheng.vo.WebOrder;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author yawang
 * @create 2024/05/17 10:51:09
 **/
public interface PayService {
    Map wxPay(String openId, String totalMoney, String orderNum, Integer userId, HttpServletRequest request);

    void paySuccess(HttpServletRequest request, HttpServletResponse response);

    Map userRecharge(Integer userId, String rechargeMoney, Integer scoreNum, Integer diamondNum,String commissionNum,HttpServletRequest request);

    void paySuccessRecharge(HttpServletRequest request, HttpServletResponse response);

    String  webPay(String goodsName,Integer price,Integer userId);

    ResponseEntity<Object> paySuccessWeb(HttpServletRequest request, HttpServletResponse response);

    List<WebOrder> getUserInfo(Integer userId);
}
